package com.gray.blog.service;

import com.gray.blog.dao.IpBlackListDao;
import com.gray.blog.entity.sys.IpBlackListEntity;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created  By zhoux 2018/10/29
 **/
@Service
@Slf4j
public class IpBlackListService  extends BaseService<IpBlackListDao, IpBlackListEntity>{

    @Autowired
    private IpBlackListDao ipBlackListDao;

    public IpBlackListEntity getIpBlackInfoByIp(String ip) {
        return ipBlackListDao.getIpBlackInfoByIp(ip);
    }

}
